#include <iostream>
#include "8-29-4.cpp" // FIXME: 包含cpp文件不太好
#include <stdlib.h>

using namespace std;

int main()
{
    my_stack<int> stk;
    for(int i=0;i<30;i++)
    {
        stk.Push(i);
    }
    cout<<"the size of stack"<<stk.size()<<endl;

    while(!stk.empty())
    {
        cout<<stk.Top()<<endl;
        stk.Pop();
    }

    cout<<"the size of stack  "<<stk.size()<<endl;

    system("pause");
    return 0;
}
